import unittest
from PrimaryXml.primaryxml import PrimaryXml

file = "test-primary-xml.gz" # 7452

class MyTestCase(unittest.TestCase):
    def test_print(self):
        packnames=PrimaryXml().fileinfo(file)
        print(packnames)
        print(len(packnames))


if __name__ == '__main__':
    unittest.main()
